<div id="events" class="list" style="float: left">
<?php

if (count($events)) echo "<h3>Events</h3>";

$font_size = 12;
$str = '';

foreach ($events as $i => $event)
{
    echo '<span style="font-size:'.$font_size.'px"><a href="/event/'.$event['Event']['id'].'">'.date('M d, Y', strtotime($event['Event']['date'])).' - '.ucwords($event['Event']['summary']).'</a><br/>';
    $str = '';
    
    if ($event['Venue']['city'] && $event['Venue']['country']) $str = $event['Venue']['city'].', '.$event['Venue']['country'];
    else if ($event['Venue']['city']) $str = $event['Venue']['city'];
    else $str = $event['Venue']['country'];
    
    if ($event['Venue']['name']) $str.= ' @ '.$event['Venue']['name'];
    
    echo '<small>'.$str.'</small>';
    echo '</span>';
}
?>
</div>